#ifndef CHECKNETWORKCONNECT_H
#define CHECKNETWORKCONNECT_H

#include <QThread>
#include <QProcess>
class CheckNetWorkConnect : public QThread
{
    Q_OBJECT
public:
    CheckNetWorkConnect();

    void stop();
signals:
    void send_networkConnect_state(int state);
protected:
    virtual void run();

private:
    QProcess *process;
    bool running;
};

#endif // CHECKNETWORKCONNECT_H
